<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <title>我喜欢</title>
    <link rel="stylesheet" href="/Public/Home/css/member.css">
    <!--不识别数字为手机-->
<meta name="format-detection" content="telephone=no, email=no"/>
<!--通用js-->
<?php if(isset($signPackage) && !empty($signPackage)){ ?>
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js?v=201704270010"></script>
<?php } ?>
<script type="text/javascript" src="/Public/Home/js/require.js"></script>
<script type="text/javascript" src="/Public/Home/js/baseLoading.js?v=201705240001"></script>
<script src="/Public/Home/js/jquery.min.js" ></script>
<script src="/Public/Home/js/pincode-input.js" ></script>
<script src="/Public/Home/js/parabola.js" ></script>
<script src="/Public/Home/js/lazyload/jquery.lazyload.min.js"></script>
<script type="text/javascript">
    _global.isLogin = !!"<?php echo $wx_member_id; ?>";
	var isWxShareDiy = typeof yc_share_diy === "undefined" ? false : yc_share_diy;
	var yc_wx_shareImgPath = "";
	<?php if(isset($weixin_logo) && !empty($weixin_logo)){ ?>
		yc_wx_shareImgPath = "/Uploads/<?php echo ($weixin_logo["image"]); ?>";
	<?php } ?>
    var yc_pass_arr = {'local_id':"<?php echo I('local_id',1);?>",'top_local_id':"<?php echo I('top_local_id',1);?>"};
	if(parseInt(yc_pass_arr["local_id"]) == 21){
		_global.isStopSell = true;
	}
    <?php if(isset($signPackage) && !empty($signPackage)){ ?>
        _global.isWeiXinLoad = true;
        var isEnableLocation = typeof yc_wx_location === "undefined" ? false : yc_wx_location;
        var yc_wx_options = {
            "enableLocation" : isEnableLocation,
            "refuseCallback" : function(){},
            "mapCallback" : function(){},
            "config" : {
                debug: false,
                appId: '<?php echo $signPackage["appId"];?>',
                timestamp: '<?php echo $signPackage["timestamp"];?>',
                nonceStr: '<?php echo $signPackage["nonceStr"];?>',
                signature: '<?php echo $signPackage["signature"];?>',
                jsApiList: [
                    'checkJsApi'
                ]
            }
        };
        var isInHeader = typeof yc_wx_useInHeader === "undefined" ? true : yc_wx_useInHeader;
        if(isInHeader){
            wxAutoConfig(yc_wx_options);
        }
    <?php } ?>
</script>
</head>
<body style="background:white;">
    <div class="warp">
        <section class="mylove">
            <div class="tab-title">
                <a href="javascript:void(0)" class="active"><span>好货(<em></em>)</span></a>
                <a href="javascript:void(0)"><span>店铺(<em></em>)</span></a>
            </div>
            <div class="mylove-content">
                <div class="modify-bar clearfix" style="display: none;">
                    <span class="fl">目前失效商品<i>0</i>个</span>
                    <a href="javascript:void(0);" class="fr modify">编辑</a>
                    <a href="javascript:void(0);" class="fr complete" style="display:none;">完成</a>
                </div>
                <div class="mlLove-goods-list"></div>
                <div class="delete-shop-failure">
                    <a href="javascript:void(0)">清除失效商品</a>
                </div>
            </div>
            <!-- 编辑状态下全选删除 -->
            <div class="fixed-bot-modify" style="display:none;">
                <div class="left-text">
                    <a href="javascript:void(0);" class="all-delete">全选</a>
                </div>
                <div class="right-operate">
                    <a href="javascript:void(0);" class="delete-btn">删除</a>
                </div>
            </div>
        </section>
    </div>
    <!--没有喜欢的商品的或者店铺时显示-->
    <div class="empty-box" style="display: none">
        <img src="/Public/Home/images/iconEmpty.png" alt="">
        <p>没有喜欢的<em class="empty-state"></em></p>
        <p><a href="<?php echo url('store/index');?>" class="btn btn-hollow">去发现</a></p>
    </div>
    <!-- 删除确认弹窗 -->
    <div class="alert-popup deleteGoods">
        <p>你确认要取消关注的商品？</p>
        <p><a href="javascript:void(0);" class="cancel">取消</a><a href="javascript:void(0);" class="confirm">确认</a></p>
    </div>
    <div class="alert-popup delete-Goods">
        <p>你确认要删除的商品？</p>
        <p><a href="javascript:void(0);" class="cancel">取消</a><a href="javascript:void(0);" class="confirm">确认</a></p>
    </div>
    <!-- 店铺操作提示页面 -->
    <div class="alert-popup deleteShops">
        <p>你确认要取消关注的店铺吗？</p>
        <p><a href="javascript:void(0);" class="cancel">取消</a><a href="javascript:void(0);" class="confirm">确认</a></p>
    </div>
    <script>require(['memberMylove']);</script>
</body>
</html>